home *** CD-ROM | disk | FTP | other *** search
/ MacWorld: Super Stacks! / Macworld CD.iso / HyperCard Archives / International / French v1.2.5.1 / Piles principales / Notes sur la version 1.2.5 / card_9689.txt < prev    next >
Text File  |  1989-10-04  |  2KB  |  81 lines

  1. -- card: 9689 from stack: in.5
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 5683
  5. -- name: foundLine
  6.  
  7.  
  8. -- part contents for background part 9
  9. ----- text -----
  10. Nouvelles fonctions HyperTalk
  11. Carte 4 sur 10
  12.  
  13. -- part contents for background part 7
  14. ----- text -----
  15. foundLine
  16.  
  17. -- part contents for background part 11
  18. ----- text -----
  19. Cette fonction renvoie la description de la ligne o√π la cha√Æne recherch√©e par la derni√®re commande Find a √©t√© localis√©e, sous la forme : line <nombre> of <card | bkgnd> field <nombre>. Si la recherche n'a pas abouti, la fonction renvoie une cha√Æne vide.
  20.  
  21.  
  22. -- part contents for background part 8
  23. ----- text -----
  24. the foundLine
  25.  
  26.  
  27. -- part contents for background part 10
  28. ----- text -----
  29. aucun
  30.  
  31. -- part contents for background part 17
  32. ----- text -----
  33. --apr√®s ex√©cution des commandes suivantes
  34. find "Anne"
  35. put the foundLine
  36.  
  37. --vous obtiendrez un r√©sultat du type :
  38. line 1 of bkgnd field 3
  39.  
  40.  
  41. --utilisation pour s√©lectionner une ligne :
  42.  
  43. find currentTopic in field "Sujets"
  44. select the foundLine of field "Sujets"
  45.  
  46.  
  47.  
  48.  
  49.  
  50. -- part contents for background part 18
  51. ----- text -----
  52. on foundLineDemo
  53.  
  54. --affiche la ligne o√π a √©t√© trouv√©e la cha√Æne
  55.    find "HyperTalk"
  56.    put the foundLine
  57.    wait 2 seconds
  58.  
  59. --s√©lectionne la ligne enti√®re
  60.    select the foundLine
  61.    wait 2 seconds
  62.    cleanExit -- dans le script du fond courant  
  63.  
  64. end foundLineDemo
  65.  
  66. -- part contents for background part 31
  67. ----- text -----
  68. Find
  69. foundChunk
  70. foundField
  71. foundText
  72.  
  73. -- part contents for background part 35
  74. ----- text -----
  75. ‚Ä¢  Une ligne est d√©limit√©e par un caract√®re retour. 
  76.     Lorsqu'une ligne est coup√©e en deux pour une question 
  77.     de longueur, HyperCard consid√®re qu'il s'agit d'une seule 
  78.     ligne.
  79.  
  80. ‚Ä¢  Si la cha√Æne localis√©e s'√©tend sur plusieurs lignes, the 
  81.     foundLine ne d√©crit que la premi√®re.